package org.neuedu.chapter06_0621.demo04;

public class PersonTest {
    public static void main(String[] args) {
        Person p1 = new Person();
        p1.setName("tom");
        p1.setAge(22);
        p1.test();

        String name = p1.getName();
        System.out.println(name);
    }
}
